package com.bot.adms.model.entity;

import com.bot.adms.model.bo.AdInfoBo;

import java.util.Date;

/**
 * 广告信息实体类
 */
public class AdInfo {
    public AdInfo(AdInfoBo adInfoBo) {
        this.id = adInfoBo.getId();
        this.adTitle = adInfoBo.getAdTitle();
        this.spScType = adInfoBo.getSpScType();
        this.layStyle = adInfoBo.getLayStyle();
        this.status = adInfoBo.getStatus();
        this.createTime = adInfoBo.getCreateTime();
    }

    public AdInfo() {
    }

    /**
     * 广告id
     */
    private Long id;
    /**
     * 广告标题
     */
    private String adTitle;
    /**
     * 分屏类型（0：单屏、1：双屏、2：三屏）
     */
    private Integer spScType;
    /**
     * 布局样式（0：全屏、1：上一下一、2：左一右一、
     * 3：上一下二、4：左一右二、5：上二下一、6：左二右一）
     */
    private Integer layStyle;
    /**
     * 广告状态（0未发布/1已发布）
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 投放申请id
     */
    private Long applyId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAdTitle() {
        return adTitle;
    }

    public void setAdTitle(String adTitle) {
        this.adTitle = adTitle;
    }

    public Integer getSpScType() {
        return spScType;
    }

    public void setSpScType(Integer spScType) {
        this.spScType = spScType;
    }

    public Integer getLayStyle() {
        return layStyle;
    }

    public void setLayStyle(Integer layStyle) {
        this.layStyle = layStyle;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }
}
